<?php
class newstypeModel extends Model
{
	protected  $_auto = array(
			array('orders','intval',1,'function'),
			);
	protected $_validate = array(
		array('typename','','该类型已经存在!',0,'unique',1),
			);
}